import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { AuthGuardService } from '@core/auth/auth-guard.service';

import {sysqmAddComponent} from "./sysqm-list/edit/sysqm-add.component";
import {sysqmAdd103Component} from "./sysqm-list/edit/sysqm-add103.component";
import {sysqmAdd104Component} from "./sysqm-list/edit/sysqm-add104.component";
import {sysqmAddqmComponent} from "./sysqm-list/edit/sysqm-addqm.component";
import {sysqmAdd105Component} from "./sysqm-list/edit/sysqm-add105.component";

const routes: Routes = [
  {
    path: 'sysqm',
    children: [
      { path: '', component: sysqmAddComponent },
      { path: '103', component: sysqmAdd103Component },
      { path: '104', component: sysqmAdd104Component },
      { path: 'qm', component: sysqmAddqmComponent },
      { path: '105', component: sysqmAdd105Component }


    ]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class sysqmRoutingModule { }
